<%--
  Created by IntelliJ IDEA.
  User: 18055243628
  Date: 2022/9/5
  Time: 12:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%--在错误页面可以启用jsp九大内置对象之一：exception--%>
<%--exception内置对象就是刚刚发生的异常对象--%>
<%@ page isErrorPage="true" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>程序出错了</h1>
    <%
        //打印异常堆栈信息，输出到控制台
        exception.printStackTrace();
    %>
</body>
</html>
